<?php
namespace Home\Controller;
use Think\Controller;

class CommonController extends Controller
{
	public function _initialize()
	{
		if(!session('?home.islogin')){
			$this -> error('您未登陆！',U('home/public/login'),1);
			die;
		}
	}
}